Dedekind sums and parsing of Hilbert series