Convert maps to arrays (#2316)
Convert maps to arrays (#2316)

Modify two cases where we were using a map when an array would be sufficient and should have better performance.
couchbaselabs/sync_gateway,tophatch/sync_gateway,ceejatec/sync_gateway,couchbaselabs/sync_gateway,ceejatec/sync_gateway,tophatch/sync_gateway,couchbaselabs/sync_gateway,ceejatec/sync_gateway,tophatch/sync_gateway,tophatch/sync_gateway,couchbaselabs/sync_gateway,ceejatec/sync_gateway