understood, & not bubble expert , but until you do some official bubble thingy with the JSON API response, how to get bubble to expose a typed bubble.obj to which you get a reference?
above may follow similar issue/frustration
javascript makes this transparent & ez but (JSON-to-string, Json-to-object) until you injest that JSON , what do you actually have ( no native json type in bubble )