added function objectToSerialized
added function objectFromSerialized
removed interface SerializerInterface