This isn't tested, but it's basically what I've gotten working in my own project as of now.
RTTR is really cool and will let you save type information for elsewhere in your project (maybe an editor if it's a game engine), but also using visitors will allow you to automatically integrate with other existing libraries like sol2, chaiscript, etc.
The biggest pain point I found was working with the usertypes generically. The documentation is kind of bad in this case.
I thought I could just do this: