Function to detect changes in json-file and perform version-control on them (basis for the Pentaho-CDM)