Created mongo indexes

more like ensure amirite
change alarms json schema.

Use an enum to validate the operator.