Implement the YAML interface.

Signed-off-by: Tom Grennan <tom@apptimist.co>