fix to_json options bug
more web fuckery