Changes tabs and variables to arrays/hashes