added resultBuilder, returns proper json format according to docs
merging