Clean up dynamic interface API serializer.