Configures aliases on the specified XStream object based on annotations that decorate the
specified class. It will recursively invoke itself. If a field is parameterized, a
recursive call for each of its parameters type will be made.
topLevelClasses - the class for which the XStream object is configured. This class
is expected to be decorated with annotations defined in this package.
xstream - the XStream object that will be configured