Fixes MOBILE-464

Checks whether the responseExpected flag is false, and that no data has been
passed back. If that's the case then it sets the returned data to a blank
object.