GWT UI: Send assignee input as json

Sending the assignee as plain text only worked due to the
@DefaultInput annotation on the assignee field in AssigneeInput.

Change-Id: I185b365f66faea6955115206318b1d7f0997b8ef
Signed-off-by: Edwin Kempin <ekempin@google.com>
diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeApi.java b/gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeApi.java
index a008149..84c2403 100644
--- a/gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeApi.java
+++ b/gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeApi.java
@@ -122,7 +122,7 @@
       AsyncCallback<AccountInfo> cb) {
     AssigneeInput input = AssigneeInput.create();
     input.assignee(user);
-    change(id).view("assignee").put(user, cb);
+    change(id).view("assignee").put(input, cb);
   }
 
   public static RestApi comments(int id) {