fix JObject
nitg: use a portable PRINT_ERROR instead of fprintf(stderr, ...)

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
fix jobj
dirty: use global in mnit_simple

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