Raise restriction of safe_yaml to ~>1.0

Amends #1886