fixed bug with empty @elasticsearch_mappings Hash