Extract forms in HTML and support UBER's serialization