Add a generic data response

See #11812
Please use tabs instead of spaces as per http://doc.owncloud.org/server/6.0/developer_manual/app/general/codingguidelines.html