Give JSON error instead of HTTP 404 when a user who doesn't exist is looked up through API