Better tabs component serialization/unserialization