Changed format of ApiErrors