use JSON.parse instead String.toObject in data processing