Just use object literal here:

```JS
var metadata = {
    deviceToken: "theDeviceToken",
    alias: "some_username",
    category: "email"
};
```