Tool/dataset for matching first names and nicknames
Maybe this helps. I could not check the content, but it says that it provides a csv mapping names and nicknames.

https://github.com/carltonnorthern/nickname-and-diminutive-names-lookup