only walk an array
Merge pull request #6491 from owncloud/fix-warning-array_walk_recursive-json

only walk an array