change annotation writer to write other annotations than doctrine ones as well