recent stockout medicine names are stored as part of session and
retrieved via an index when selected.

Added support for string arrays in key value store.