respond with appropriate HTTP status code matching the JSON responses' status property