Flattening values of extension collect method and colorizing the hook log output.