Example of how to use both a json file and XContent to add a mapping to Elasticsearch