Added support for Json.Net triggering.

Add support so that Json.Net can do serializing for trigger. This allows
us to use JsonSerializerSettings