Add test that JSON parses correctly
Use YAML to load

This means input can be either YAML or JSON. It does mean it has to go via JSON because there is no symbolize keys method in Ruby, which is annoying. It might be better to write a symbolize keys method but this works for now.
This test is actually adding very little