pretty print serialization

Hi kgabis,

just implemented a basic version of pretty printing. If you like it modify it as needed to fit into the library (codestyle, documentation, etc)

Regards
Tobias