Fixed Hostname Inconsistencies

There were some config key inconsistencies. This is a fix so both the middleware and the notifier get the right data.