getting form serialization working right