moved queue_name to metadata