will you fail was a non-pretty message if `servers` isn't even specified? `undefined method `empty?' for nil:NilClass` 

this might be true for other arguments in this section. i would do `if @discovery['servers'].nil? || @discovery['servers'].empty?`