As i understand, you are splitting firstly for the key-value pair. While storing you can further split this string with "=>" and store them in a hash. But i am still confused about the way your code is extracting the key-value pair.
Life is a box of chocolates..
Perhaps you get to eat very few best ones!!