Convert Perl structures to strings and back
