Add JSON encoder filter.

This is a plugin I did a while ago to flatten a structured field into a JSON encoded string. Unlike mutate/replace with %{field}, this also flattens arrays.