Fix deserialization of empty structs and empty tuples inside of untagged enums (#2805, thanks @Mingun)