select: make it work

Maybe we could check `typeof val !== 'object'? val : JSON.strinigify(val)`? Guess jQuery would do the rest.