Send object rather than array of arrays for input
Accept and forward groups as-is after query returns
Fix group test bug