added partial support for multiple serialization formats