Canonical form of master equations and characterization of non-Markovianity | Synapse