Converting Perl structures to strings and back
