Allow _get_items() to receive array of params for $metadata

Signed-off-by: Andrew Phelps <andrew@phel.ps>