Added JSON validation into the unstruct events' JSON processing; updated tests to check it works okay