Mapping generation can handle `object` as a dynamic type, but not `any` in case for number etc.
Summary
Mapping generation can handle object as a dynamic type, but not any in the case of number, string etc. This is not an issue at the moment, but may become a pitfall in the future.
Possible fixes
A possible solution would be to activate the dynamic property for the field it is inside, however that would prevent us from using any tags for the dynamic type.
Currently, there may not be a good solution at all, as we are limited by what Elasticsearch provides.