add switchCommand schema, log JSON for failed message verifications, reduce the indexing required by message.