Update dependencies
Rework serialization