Issue #648 - For /db request always return JSON object, for /db?queries=xys return JSON array