Implemented initial version of doPut and doGet: return JSON representation of provided parameters.