added json to object example