Call #to_liquid before calling #to_json in jsonify filter.
Merge pull request #2729 from jekyll/to_liquid_before_jsonify