removed format_is_rb and format_is_json methods
removed dead comment