Fix Json Builder.

 When creating a new object in the getter it should be added
 to the parent json.