Set up hash table with boost::variant.