Root object name can be determined by server implementation now.
Added JSON format discovery over http.