Writes to a json file.
obj – the dict or JSON to be written.
filepath – The absolute path to the .json file that should be created.
write_json()
dgs.utils.files.to_abspath
dgs.utils.image