fix: port entires to new array format

Merged Roman Gilg requested to merge kms-hook-fix into master

Instead of old string format. This then also fixes the addition of the kms hook to the array and simplifies it as we only have to check for the array format.

The messages are improved too.

Merge request reports