correctly serialize nested sys expressions

of type string