Index the survey ID for responses and condense JSON output

We look up responses by survey ID, so we need to index that field.

The default express JSON output uses whitespace, which really increases the size of our JSON responses.

/cc @hampelm