Updated dataValue method to parse arrays and objects from HTML5 custom data attributes.