A Justice League writer was depressed as a result of the Whedon rewrite