Save event attributes as json
Raise error by using "create!"
Added validates to LogEvent