Ignore local files
Rewrite serializer framework

The rewrite makes the framework more modular (in terms of files) and
removes some deprecated and dangerous features. It is much more slim in
regards of lines of code and design.
Update example to recent changes