Gets a JMap that can be empty.
JMap getJMap(int idx) { // ignore: implicit_dynamic_map_literal return getJMapOrNull(idx) ?? JMap({}); }