LEDGE-260: collect name of the parameters BEFORE discarding them. This
ensures that parameters are actually removed from DB.
LEDGE-260: use ConcurrentHashMap as internal representation to prevent
data corruption in event of concurrent writes.