I think, if possible, we should use coherent object property operator.
Here it is ```parsedQuery[category]``` a few lines later it is ```parsedQuery.tags```