also fix empty sets when serializing
fix serializing empty sets

Merge branch 'chadkouse-emptysets'