code: def transform(data, keysToSplit=[]):
      
      transformed = { }
      for key in data:
          if key in keysToSplit:
              transformed[key] = data[key]['value'].split(SEPARATOR)
          else:
              transformed[key] = data[key]['value']
      return transformed
docs: Transform a SPARQL json result by:
      1) outputing only { key : value }, removing datatype
      2) for some keys, transform them into array based on SEPARATOR