using qs module to parse query params and merge module to merge objects