add uuid marhsalling in findById

to avoid doctrine internal type conversion excceptions