Allow compressed spooler to compress timestamp objects on events

Confirmed on Jira against ticket #1812
see https://logstash.jira.com/browse/LOGSTASH-1812

Ported over from coolacid's PR on logstash contrib
see https://github.com/elasticsearch/logstash-contrib/pull/43

Fixes #2