now can add objects to json