Fix usage of empty static data on serialization
Remove debug print in deserialization