contrib/jwrapper: Work on grep support

Signed-off-by: Frédéric Vachon <fredvac@gmail.com>