Reflection for objects was implemented, serialization to json was rewritten, deserialisation from json is broken.