Fix json error messages to state the name of the property correctly