Implemented JSON service handler