Add Schema to validate JSON before saving

Update EventLogging to latest master for this to work

Change-Id: I65d4cef194666197f733405495b539d226a08f69