Wireframe code, most of it scaffolding
Initial working code: sends a meaningless JSON response