You need to check if there is already a root, otherwise you would override existing roots, cf: https://github.com/schmittjoh/serializer/blob/master/src/JMS/Serializer/Handler/FormErrorHandler.php#L128