merge method updated, now input is jsonnode