Checks if an array contains only objects
bool isArrayOfObjects(List<Object?> value) { return value.every(isJsonObject); }