Cherrypy with restful api