Implemented JSON responses