first working version
First version of the serializer. removed comments.
Merge branch 'master' of github.com:Reregistered/serializer
added example.