Started serialization. Add test for simple model - failing.