fixed destroying passed in keys when performing getItems. closes #28