Merge two objects via JSON