You can return the array, its turned to JSON by default ;) in oc 7