move settings back to enum but with custom serialization to comply with JSON