Question from the API Platform test

How to customize the format of an output attribute representation in API Platform?