use JSON from the convert package since dart:json is deprecated