Add InvRef::get/set_lists()
Rename get_json_value to read_json_value