Update keywords.py

fix convert_to_json