Retrieve data from result if result.data is undefined
Retrieve data from result if result.data is undefined

In some circumstances (I'm not completely sure when this changes), the data is in `result` rather than `result.data`.
MichaelErmer/feathers-populate-hook