Converting from .JSON to .txt