Normalize the syntax and output of db.rb