Adapt mappings to Elasticsearch 1.0+