I'm using Junos RPC in NSO to retrieve configs and am trying to convert the objects to text to save to file and to parse the content using Genie. Is there a solution, i.e. maagic API, etc., that can convert the objects returned from the RPC calls to text (config text, json, xml)?