code: def transformArray(data, keysToSplit=[]):
      
      transformed = [ ]
      for item in data:
          transformed.append(transform(item, keysToSplit))
      return transformed
docs: Transform a SPARQL json array based on the rules of transform