Serialize PTC-Lisp AST to source code string.
Used for:
Format an AST node as PTC-Lisp source code
@spec format(term()) :: String.t()