use JObject as the type instead of Map for matching