Add this utility.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2 spaces for yaml I think.