I know this is not an issue but I didn't know how to send you a message.
I noticed that this library solves exactly the same problem I solved on my jquery.serializeJSON plugin.
I am also surprised that we both decided to format the fields as in Rails.
I will add a reference to this repository from my README file as the "no jQuery" solution ;)