YAML to JSON conversion for the Rails 3 asset pipeline