laszloballa
Administrator

What error are you getting? I am only see the unnecessary quotes before your curly bracket, otherwise should be fine.

var inccategory = current.category.getDisplayValue();
var result = {'category':inccategory};