migration: update lib and contribs to use ::json

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>