((A) => Object.assign( A, { "object2": { "object1": A, "test": "njson" } } ) )( { "njson": "test" } )