consider using one instance of XContentBuilder per morphline command instance, and then no synchronization is necessary, which gives better scalability with the number of cores.