use content negotiation in validator errors
add problems handling