Storing the json instead of the array