Speed up symbol parsing for large payloads
Previously IpynbSymbolMap#parse_string
was slow because it allocated
an increasingly larger string for large entries. We can optimize this
by using indexes and constructing the substring once we know where the
correct indexes are.
Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/354537