Cope with nested dict PythonClass params