The autogenerated microflows are working skeletons that can be enhanced with custom logic if required.
Using the export mapper to generate xml or json as shown on the documentation page is not needed, it’s better to just return the list. The platform will then ensure xml or json is generated based on the format requested by the client (content negotiation using the Accept http header). Also removes the need to handle this with the response headers.