removed the userdict, as enums cannot be jsonified