added json formatting for get