add require 'yaml' in order to use YAML
modify key class from Symbol to String