title: How can I read yaml (Configuration) file as JSON in dropwizard?
body: <p>I want to parse configuration yaml file as a JSON Object in Dropwizard.
  As in Python and Ruby we can directly read yaml file as JSON:</p>
  
  <pre><code>require 'yaml'
  conf = YAML.load_file('some.yml')
  puts conf.&lt;some key&gt;
  </code></pre>
  
  <p>I want to follow the same protocol and do not want to make a separate class to map the yaml structure, but not sure how to achieve it in Java.</p>