Python Json Check If Value Is String