nunaliit2-js: Remove empty keys from JSON entries

Issue #262