try to handle older-style strings without a length
Add basic support for parsing weak map entries.
But for now, just ignore them
Store the weak maps into graph attributes.
Also, an experimental function for adding weak map edges, which isn't really sound as is.