Using versionedRepresentations
is the recomended way, since the string representation is deprecated and should not be relied on.
I would also recommend using the version 2 of the API, since version 3 is in beta. But in practice they are the same, the only difference being version 3 uses ADF, and version 2 - plain text for rich-text fields.