Resolve scalars using yaml 1.2 core scheme. Fixes #7, fixes #8