code: private static Identity parse(final JsonObject json) {
          final Map<String, String> props = new HashMap<>(json.size());
          props.put(PsTwitter.NAME, json.getString(PsTwitter.NAME));
          props.put("picture", json.getString("profile_image_url"));
          return new Identity.Simple(
              String.format("urn:twitter:%d", json.getInt("id")),
              props
          );
      }
docs: Make identity from JSON object.
  @param json JSON received from Twitter
  @return Identity found