Removed JSON serialisation of parameters from "logTimedEventWithParameters" and "endTimedEventWithParameters".
Bugfix: "logEvent" failed if parameters missing (undefined).