cf-dc-api: add sketch metadata as a "metadata" array parameter