Strip out YAML blocks

ah, didn’t realize stripe means get rid off, I thought you want to extract that block of YAML (biased based on my use case of course), in that case readlines should be just fine.