Adding get books json endpoint