search renders result despite if output of API is a hash or array(1 or more results)