I want to print a dictionary as text with python syntax, so I can reuse it in my Python code. Many tutorials export the dictionary to json and then load the dictionary back