Add a field to the JSON document spec to specify the hash function to use to compute hash(dbsource)
Add support for specifying hash function to use and related sanity checks
changed date format to dd-mm-yyyy