fix jsonify handling of boolean values

`true.to_liquid == true`, so `as_liquid(true)` was an infinite loop :bomb: :boom: :facepunch: Noticed while trying to use `jsonify`.