implement JSONConvert class for handling requests