When marshaling fails the response is 200 with "error marshaling response". A status 500 is more than appropriate here.