JSON.parse should be a better native alternative here.