loading enum values from json