The information is exported in the single-patient JSON export and through REST, but it is not listed in the export preferences.
To reproduce, this extra field must be enabled from the Administration -> Patient form structure.