getData() always needs to return an array
Merge pull request #6988 from owncloud/oc_api_fix_warinigs

[ocs API] getData() always needs to return an array