Merging adjacent output nodes is not a good idea. Taking adjacent text nodes into account during XML to JSON mapping.