json.WriteError: result field must be null