move PR output serializer before PR detail