thank you for your reply. For the type that I had most problems with, please see
Another format that was not handled properly was the C++ type long, which needed the same conversion via a new branch as mentioned in the quoted post: rdf.Define("x_new", "int(x)").