Minor fix. granted_permissions = {} if response.data isn't present