FORGE-1060 Add @XMLRootElement to top level DTOs

Also removed the logic to add @XmlRootElement to JPA entities.