implemented some of the Java<-->Python object transformation functions