If this is going to extensible, with serialization formats such as json added, it might make more sense to move the `require 'yaml'` into the load_yaml method, to prevent unnecessary loading of libraries.