Add logging to serializaton classes
Remove synchronized from serialize and deserialize methods