Update and rename metadata.json to metadata.rb