1099-R received from unpaid 401k loan balance

I received a 1099-R for the unpaid balance of my 401k loan from my previous employer. My 401k account both has traditional 401k and Roth 401k. Is there a way I can enter the information from my 1099-R as having been withdrawn from my Roth 401k so I am not taxed heavily? Is there a way to show that it came from my Roth 401k account where my contributions there were taxed already? Thank you for any advise you can give.