Added serializer config for Media entities