serialization of form descriptions for client