From http://stackoverflow.com/questions/12100692/jquery-serialize-html5-data-attributes