Converting java_object, avoiding the ClassLoader dependency for now.
adding back comments, fixing a few types