accept chapters as json-file