code: private List<String> objectKeys(JsonObject obj) {
      List<String> keys = new ArrayList<>();
      for (Map.Entry<String, JsonElement> entry : obj.entrySet()) {
        keys.add(entry.getKey());
      }
      return keys;
    }
docs: Return a list of the keys on a JSON object.