build in jackson 2, added jsonp, defensive code