Allowing transition to enum from josn values with "-" character

"-" is now replaced by "_"