I'm getting an 'error validating settings: query is not valid JSON: json: cannot unmarshal string into Go value of type map[string]interface {}' when trying to output my query to CSV.
My query is:
'dev_experts:{$aggregate([{$unwind:"$expertise"}])}'
How do I "unmarshal" that? I've run the query through Robomongo and I can see the results I want to export, but I can't export them through there.
Thanks in advance.