Generate Model definitions from ElasticSearch _mapping records.