updated shared serializer