Improve smartness of mock JSON endpoint
Improve smartness of mock JSON endpoint

Now validates that the JSON data can be decoded, contains the
mandatory "event" key, and ensures that no keys other than the allowed
ones are present in the data.

fuyufjh/splunk-hec-go