removes nested quotes