Encodes a JSON:API document into a JSON string.
FutureOr<String> encode(Object document) => jsonEncode(document);