Support for converting lists to Java lists in the ->jobject function.