Resolve enums from name, with fallback value. Closes #58