changed parse_literal to json