json serialization and a basic web form