Change the default value of user to User.new for Problem#to_h.