Writes a JavaScript object to a .json file in the repo

await repo.writeFileJson(object, filepath)

This is a wrapper around firost writeJson method, but scoped to the current repository.