split of yaml and annotation inserts types