[imp] Deprecate JObject. Closes #4910