Add sparql-update subset parsing, and a generic serialize function.