use is_extern_field to determine which fields to initialize (closes #https://github.com/frabbit/hx2python/issues/26)