Fixed bug that renamed top-level log keys.
Created mongo indexed

more like ensure amirite
change alarms json schema.

Use an enum to validate the operator.