Factored out functions to try converting args from YAML
Replaced legacy data-type checks with (attempted) YAML conversion