further clean up extract_case_blocks and rename helper to is_device_report