allow type name to be overridden when adding mappings at index creation
Merge pull request #595 from nordbergm/fix/type_name_cannot_be_overridden

allow type name to be overridden when adding mappings at index creation