Rename Repo#to_hash -> #to_h, following Ruby 2.0 naming convention