Add support for the keepalive config option to be a string value - to support grunt templates