support srv in xform() for MQTT pub and logging