In reply to Reuben:
If you have N elements in cmd_arr, M elements in addr_arr, and P elements in data_arr, your approach will do N + M + P sets into the config_db, and you’ll have to do N + M + P gets to retrieve the information. If you create an object that holds the three arrays, you’ll only have to do one set and one get.