Enums will serialize back to its string when it moves over to Javascript land.