Fixing enum serialization issue
- server would crash on
/api/v1/projects
request by sending 500 response, and this was because the enum types do not inherit from string and an enum could not be serialized to a string. So inherited fromstr
and it worked.