German writer, Commissioner of Enlightenment and Public Instruction of the short-lived Bavarian Soviet Republic