Check for value of a JSON key