Fixing model dumps