What is the use of .serialize() in JQuery?