Check if a dict is jsonable.
Credit: https://stackoverflow.com/a/53112659
is_jsonable()
tnet_to_nx
Contributers