fixed chapter parsing/json dump