Utility function to enforce map-based arguments be entered correctly