fix bug in backend output (naming of types & type field name)