More reasonable responses in JSON API.