Bugfix: render webdav permissions as string in search report

We now correctly render the `oc:permissions` of resources as a string.

https://github.com/owncloud/ocis/issues/4575
https://github.com/owncloud/ocis/pull/4579
