Make DoctrineWriter::writeItem fluid