Add marshal and unmarshal text functions
* development:
  Add marshal and unmarshal text functions