accept boolean key-value checks

when the value of the --key KEY to check in the json response is a boolean (like {"success": true}) the input value --value is now converted to a boolean to accept boolean key-value checks.