Use consistent REST responses and errors