[doctrine] fix mapping of details in order. has to be object.