Parse quotes (a bit buggy, might need a rewrite)