code: def _normalize_data_types(self, strategy):
          ''' some contexts only retrieves strings, giving back right type '''
          for k, v in strategy.iteritems():
              if not isinstance(v, str):
                  # There is probably nothing to do
                  continue
              if v == 'true':
                  strategy[k] = True
              elif v == 'false' or v is None:
                  strategy[k] = False
              else:
                  try:
                      if v.find('.') > 0:
                          strategy[k] = float(v)
                      else:
                          strategy[k] = int(v)
                  except ValueError:
                      pasf _normalize_data_types(self, strategy):
          ''' some contexts only retrieves strings, giving back right type '''
          for k, v in strategy.iteritems():
              if not isinstance(v, str):
                  # There is probably nothing to do
                  continue
              if v == 'true':
                  strategy[k] = True
              elif v == 'false' or v is None:
                  strategy[k] = False
              else:
                  try:
                      if v.find('.') > 0:
                          strategy[k] = float(v)
                      else:
                          strategy[k] = int(v)
                  except ValueError:
                      pass
docs: some contexts only retrieves strings, giving back right type