private static Collection<Account> getAccountsFromJson(String accountJsonPath) throws IOException {
    return new ObjectMapper().readValue(Utils.readStringFromFile(accountJsonPath),
        new TypeReference<Collection<Account>>() {
        });
  }
Gets a collection of {@link Account}s from a json file.
@param accountJsonPath The path to the json file.
@return The collection of {@link Account}s parsed from the given json file.
@throws IOException
@throws JSONException
ambry-tools/src/main/java/com/github/ambry/account/AccountTool.java