- Save the notes as JSON when uploading to server

Change-Id: I8d983ccf0b2a75b82bc71d80fdc8a0f5f7c905ec