Added minor improvements. Uset str_getcsv() rather than explod() for splitting on commas.  Values can now contain comma character as well as '=>' string. Added slashes when storing values in the hstore