clean whitespace
add 422 response code string