Fix jython object invocation