Update EmbeddedDocumentSerializer.php