converts workstation role from json to ruby
convert mac os x role from json to ruby