fix to_liquid override for latest gem