Wrap JSON.parse into try/catch to handle response with html contents
add support of arguments captureHeaders, captureContent, captureBinaryContent to startHAR