Add method for searching the value of key in a JSON string.