I have a really simple emit statement in a view.
emit([doc.salesDate, doc.companyId], doc.grossSales);
Is there any way I can make the JSON object it returns show up like this
{
"grossSales" : "100"
}
instead of
{
0: "100"
}
EDIT: I'm using the rest API if it makes a difference