Added possibility to save a book using JSON