DRYing up ElasticSearch doc fields stuff