var data = JSON.parse(value);
data = Array.isArray(data) ? data : [data];

result = data.map(function (filesystem) {
  return {
	'{#FSNAME}': filesystem['filesystem-name'],
	'{#MOUNT}': filesystem['mounted-on']
  };
});

return JSON.stringify(result);