Backport Jekyll commit 0662d31 (fix jsonify filter when used with boolean values)

This fixes the SystemStackError that was happening with Jekyll 2.5.0,
2.5.1, and 2.5.2.  It will be fixed upstream in 2.5.3.