fixed GH #138: FreeBSD JSON tests fail