Hi Peter,
I faced this problem while I'm developing a Joomla 3 version from my
Multiple Extra Fields Groups
plugin, and struggled with K2 code to find out the correct syntax.
But simply I find it works like this, replace "params" with "fields", and replace "param" with "field" B)