`returned_parameters['nodegroups']` needs to be a string, so I could cast it. How's this? `returned_parameters['nodegroups'].to_s.split(',').map {|group| group.split('|')[1]}`