Added id to the domain object which automatically mapped and was returned as expected.