Adds functionality to Json#enumNames attribute.
Merge pull request #2450 from RotaruDan/jsonEnumNames

Json enum names functionality