Thanks @Kentzo. Using the Raw* classes just for deserialization seems reduntant, and introduces the need for all those transformation functions. Would it be possible just remove them (and the transformation functions too) and let Gson (the default JSON library in jclouds) deserialize directly to the "non-raw" objects?
You can use the `@ConstructorArgs` annotation (see the [Instance](https://github.com/jclouds/jclouds-labs-openstack/blob/master/openstack-trove/src/main/java/org/jclouds/openstack/trove/v1/domain/Instance.java) object in openstack-trove for an example) and other Gson annotations to properly configure deserialization (see for example the [Node](https://github.com/jclouds/jclouds-chef/blob/master/core/src/main/java/org/jclouds/chef/domain/Node.java) class in jclouds-chef). If it is possible to use them, that would pretty much simplify and clean up the provider (less code to maintain and to care about! :)) --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/12#issuecomment-21631148
