keep the format for error returns consistent by always returning a []map[string]string for json errors. This simplifies the error handling on the frontend. Use "name":"base" as the name field for errors which do not have a specific or known form field.