Serialize HTML form to string without javascript framework.