Make class DatasetInformation thread safe.

7 jobs for !25 with kvamme62/threadsafe in 5 minutes and 57 seconds (queued for 1 second)
merge request