moving deploymentUnit instantiation to RESTApplicationScopedProducer