added dependencies to support JSON
returns incorrect json object