#26, #27 - added json/binary serializer model