Preserve insertion order when serializing hologram tags

Since a HashMap does not preserve insertion order. The serializing of hologram tags could cause the order to be randomized.