Added method to check type of field in json object, added click listener for suggestions in book title field