handled json exception while getting consumable purchases from shared prefs