Refactor Ipynbdiff Implementation
As a follow up for &6589 (closed), before we are able to procede with an improved implementation, it is best to refactor the codebase so that all logic related to the special treatment for Jupyter diff are located in a single place
Edited by Eduardo Bonet