fixed missing key check on lighthouse api to json