Factorize + test Jackson too