compare resulting data in jsonify test
refactor #as_liquid
reduce nesting of #as_liquid
modify as_liquid to use case statement
Merge pull request #3158 from afeld/as-liquid-refactor