use <enum>.values() instead of EnumSet.allOf()
Node uses null values and writes less to stream