allow Event#as_json to accept one optional argument for compatibility with serializers
bumped version to 0.2.11