timestamp performance improvement

- The `Timestamp#to_json` method was very very slow, this fix improves json serialization performance. 
- Also added a cleanup and performance improvement to `Event#to_s`
What about the date filter? that one updates the timestamp right? or am i understanding it wrong?