extract validation errors with correct attribute names
Merge pull request #831 from tchak/validation-errors-fix

Extract validation errors with correct attribute names