optimize retrieval of values from gpio:all-info