Making it possible to customize the json root which errors are expected to be extracted from when calling model.save