format resource output in chef formatter