jiffy:encode/2 now accepts a 'pretty' option that will format the JSON output using two-space indents.