Framework for serialization to Json, XML and Byte