Suggested fix for #5 (https://github.com/hongymagic/jQuery.serializeObject/pull/5)