Add default constructor and operator= for jobject