Strings from JSON should be tested to be basestrings