Fixes issues with the Encyclopedia API parameter/response models (fixes #443), improved the materials indexing command. See merge request !211