Add unique_id to sent data as well as to XML config.