added example of json formatting