add rigs for json2 and Base64