Possible fix for JSONException when AlexKolpa tried to add a file