This is sample code to test out an idea for serializing objects to and from arbitrary representations.