Refactor: Use . instead of :: for YAML load and dump
Tests: Add test for number not in YAML format
Tests: Add test for string not in YAML format
Chore: Fix Typo