Configure serializer settings in controller setting configuration phase instead on each request