Ajax/serialize sqare brackets in field names

Ajax/serialize sqare brackets in field names

Can someone add an option to the function serialize, which will keep
intact the square brackets in the names of form fields?
--