Fixing JSON formatting for GET /resources/123