Actually its not always an object. DataMapper is able to take values from nested arrays also.