fixed data transformer for null values 

when creating form with form.factory got error 

Fatal error: Call to a member function count() on a non-object in vendor/friendsofsymfony/message-bundle/FOS/MessageBundle/DataTransformer/RecipientsDataTransformer.php on line 41