Use doc fields in meta for aggregations