fix some failing JSON related tests