more work done on the json merger

fixed issue with the json merge to correctly partition objects