modify JSON parsing and the way to store JSON