Adds 'permissions' method to enable json serialization of pundit policy permissions