serializer refacor