saves test JSON object with canvas pixel data as text file