I have a dictionary that looks like this:
{\'gender\': {\'male\': 0.4, \'female\': 0.6}, \'age\': {\'18-24\': 0.1, \