fix browser support (`JSON`)