I'd write this as:

     results['shortcuts']['council'].class == Fixnum ? nil : results['shortcuts']['council']['county']