fixing support for unknown structured fields
added junit test for it