convert NA_character_ to nulls on Java side (see #15)