Fix checks in setKeyedJsonValue/getKeyedJsonValue,
create non-existing object in setKeyedJsonValue