implemented dynamic serializer in existing views