I\'m doing the following:
var data = $(form).serializeArray(); // Now I want to add another value on this data data.username = \'this is username\';
I think it's just
data['username'] = 'this is a username';