I'm doing something similar with serializing django forms and sending them to a react app that turns the json into a form. It's a really convenient way of doing things.
Edit: basically just creating a dict out of the various attributes and then passing to json.dumps()