This could be made slightly more testable with a signature like `format_kernel_parameters(kernel_parameters)`, where `kernel_parameters` is `node[:rabbitmq][:kernel].dup` in the calling recipe.