XContentBuilder contentBuilder = JsonXContent.contentBuilder();
contentBuilder.startObject();
mapperBuilder.build(new BuilderContext(null, new ContentPath())).toXContent(contentBuilder,
EMPTY_PARAMS, new ToXContent() {
@Override
public XContentBuilder toXContent(XContentBuilder builder, Params params)
throws IOException {
ImmutableMap<String, Object> meta = meta();