Deserialization definitely works. Next commit will remove debug messages.