Fixed issue when exporting a value of None
Added in support for saving groupings, they don't do anything yet though
Added group by