Fix server_info result format.
Fix rubocop warnings.