added GET /json endpoint.