enum serilaization/deserialization really works. more work on structs
upgraded to beta 3