add json convertor and PathVariable exemple