So... The response from the SC in my case is a custom struct and from what I can see the return value is encoded in Base64. But I'm unsure how I can translate the Base64 encoding to a mapping that would match the struct in the contract. Any ideas on how that is done? Is it even possible?
I would recommend using abis to automate that parsing :)