Django does not like defaultdicts