Rewrite GML parser and generator
Adjust GML test cases