First try of transforming an entity to a dto using Java Reflection