added "toJSObject" to Objects