Move the domain builder factory to the rest model project. Remove jackson type mappings from the interfaces.