Domain classes marshalling