Fix parsing of MQ configuration