Use SafeYAML to ensure safe parsing. Fixes #13

Fixes #13 

Reviewers: @mhyee