Don't walk objects with array_walk_recursive()
Merge pull request #1839 from owncloud/no_recursive_object_walking

Don't walk objects with array_walk_recursive()