adding string info to model's labels (same as #2705 but for master)