Can't serialize pydev/stateconf, start on #5055
Fix #5055
Add pydsl runtime test per #5055