added form serialization to view manager