added serialisation example

Signed-off-by: Denis Dik <denis.dik@hs-furtwangen.de>