I am unable to set the assignee of my sub-tasks in the Additional Code section of ScriptRunner Workflow Post Function even when I use the example provided in the app ("Set assignee")

It produces this error message:

[Static type checking] cannot assign value of type java.util.Map to variable of type sr.json.issue.assignee
What am I doing wrong?