Add beginnings of deserialization (still broken)