public function serialize(Hint $hint, array $options = [])
    {
        $serialized = [
            'id' => $hint->getUuid(),
            'penalty' => $hint->getPenalty(),
        ];

        if (in_array(Transfer::INCLUDE_SOLUTIONS, $options)) {
            $serialized['value'] = $hint->getData();
        }

        return $serialized;
    }