make forms utility and misc cleanup

if you expect an xmlns or a list you should name the variable that. if you want to support both i might advocate for making it just a list. if you really want to support both it's probably easier for the first line of the function to normalize to a list and then assume a list from then on