Added JSON parsing for Host and Protocol objects