added OpType enum types UPDATE, SNAPSHOT updated JSONFormatter

added OpType enum types UPDATE, SNAPSHOT updated JSONFormatter