Update dict serialization algorithm on sync