use ruby for get_json_key due to original always returning the first character in JSON