Bugfix: utitlies.js has_keys

For some reason, the key to be searched for doesn't get a value of
above -1 in Object.keys(dict).indexOf(key) even if it is really
there. So the work around is to convert the keys array into a
string first before calling indexOf.