Add missing encoding parameter in export endpoint