Fix some type parameters; Remove 'kind' function parameters

Values returned from parse, read_xml and other functions can be labeled
with appropriate tags if desired or left alone.
Default to UTF8 for strings
Remove extra/manually specified type parameters

The only remaining one is on read_xml because everything downstream of that
can be inferred without extra manual type annotation.