Fixing stupid error in call to dumps