Fix pathData.load() so that it correctly parses the empty response ({}) and a nonempty-response.