Fix error encoding datetime objects in the event track logger backend

The function json.dumps was being called with incorrect arguments,
causing an infinite recursion when serializing an event containing
datetime objects
Merge pull request #953 from rocha/fix-event-logger-backend-json-encoding

Fix error encoding datetime objects in the event track logger backend