MongoDB find snap

Hi All,
In one project I am using MongoDB find snap
query:([{$fisrstQuery},{$second}]). i am getting $firstQuery as string instead of value it’s hold
i need like this ([{“topic”:“test”},{“msgBody.title”:“MongoDB Overview”}])
plz anyone help me to resolve this.

@Malleshappa Share you input payload json which is feeding to Mongo DB find snap.

@Supratim sorry for the delay in reply plz look into the input sending to mongoFind
image

@Malleshappa Use something like- JSON.parse("{"+$firstQuery+ “,” +$second +"}")