I also wrote one too last month but in python. It automatically merges the isc static leases into the kea reservation section by reading the array of json objects into the xml sub-elements of ElementTree. It also checks if u have a subnet uuid.
https://github.com/patrick0525/Python-Opn-isc-kea
https://github.com/patrick0525/Python-Opn-isc-kea
"