advanced serializeObject which also converts form name.spaced[0].names