Add to_hash method in client_secrets.rb