JSON engine replacement for Phoenix.Controller. Beware: if you use Ecto models, you have to serialize Ecto.Date, Ecto.Time and Ecto.DateTime manually