Added a common method for string unserializing, as a jQuery plugin.