text: # Cast all the unicode strings received from a json load into strings
  # http://stackoverflow.com/questions/956867/how-to-get-string-objects-instead-unicode-ones-from-json-in-python
  
  
  def convert(input):
      if isinstance(input, dict):
          return {convert(key): convert(value) for key, value in input.iteritems()}
      elif isinstance(input, list):
          return [convert(element) for element in input]
      elif isinstance(input, unicode):
          return input.encode('utf-8')
      else:
          return input
  