JSON adaptation