output name is up to .json