flexi serialization - further prototyping