Fixes defaults to be a dictionary