added MarshalString to Rbchain_t and Rbparams_t