why do we need duplicates of ModuleOption?
* spring-xd-module:org.springframework.xd.module.options.ModuleOption.java
* spring-xd-rest-domain:org.springframework.xd.rest.client.domain.DetailedModuleDefinitionResource.Option

I assume it's because the former is not included within the dependencies where the latter is being used (similar to some other similar cases in the REST model), but if so, I think we need to fix that problem of common dependencies rather than creating duplication in the code base.