code: public void writeNotificationArea(OutputStream out, NotificationArea value) throws IOException {
          writeStartObject(out);
          writeStringField(out, OM_REGISTRATIONS, value.registrationsURL);
          writeStringField(out, OM_SERVERREGISTRATIONS, value.serverRegistrationsURL);
          writeStringField(out, OM_INBOX, value.inboxURL);
          writeStringField(out, OM_CLIENT, value.clientURL);
          writeEndObject(out);
      }
docs: Encode a NotificationArea instance as JSON:
  {
  "registrations" : URL,
  "serverRegistrations" : URL,
  "inbox" : URL
  }
  
  @param out The stream to write JSON to
  @param value The NotificationArea instance to encode. Can't be null.
  @throws IOException If an I/O error occurs
  @see #readNotificationArea(InputStream)