rest json api for get all books and also can filter one by one