save json as text, and show it at show method