Implement serializer for the most common HBS nodes