if the field is not exported, or set to a name of `-`, skip it

* Make sure field is exported.
* Fixes regression in not skipping `-` JSON named fields.