adding some defense to the appending of search api metadata 

Really ugly solution, but it'll do until we bring the job search stuff over to an OO solution. Huzzah for nested hashes, they can make for some *cough cough* very 'attractive' defensive key checking. 

At some point indentation for JobApi#search got out of whack, that'd be the reason it shows the entire method being changed.