added stdclass marshaller