cubicweb #5640408 js_dumps produces invalid JSON [rejected]

Unless I'm mistaken, JSON specification says that "An object is an unordered set of name/value pairs", and more precisely describes a pair syntax: string : value. Finally, a string is zero or more characters in double quotes ("" or "chars").

In regard to this specification, when calling js_dumps({u'name': u'My Name'}), the result is u'{name: "My Name"}' and this is invalid JSON. It should be u'{"name": "My Name"}'.

done in<not specified>
load left0.000
closed by<not specified>