json generation for /clients/1.json