Use YAML.to_json instead of YAML.dump
RSpec color_enabled seems to have gone away