An XQuery module with functions for parsing and serializing JSON