Added a json endpoint for circle ci