Optimized the serialization process a tiny bit (eliminated 1 conditional and 1 parameter pass per saved tag).