load_json missing function fix