Refactor doctrine entities with annotation to yml format