How to deal with the motoko language keyword as the record key name

First thing that comes to mind that you could try is to put the key in double " or single ’ quotes.

Edit:

Adding _ at the end of the key seems to work according to this thread How to create a Motoko type which has a reserved word as a property identifier?

2 Likes