CONTRIB-4969 add explicit creation of stdClass object