Use builtin querystring module to create query

provides url escaping, means you don't have to depend on lodash