Support for key/value lists

this will be used for id/name  lists that are transparent to the user

Signed-off-by: Ignacio Quintero <nacho950@gmail.com>