Very simple CommonJS-module to encode/decode query parameters