This breaks my code, $metadata->translatableFields is just an array of strings, 
see https://github.com/doctrine/phpcr-odm/blob/master/lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadata.php#L1249, will try to provide a failing test