Vault Agent Sidecar KV JSON format

Is it possible to output the KV secret as JSON? Using the CLI it would be vault kv get -field=data -format=JSON kv/my-kv. This is when using the Kubernetes sidecar and agent annotations.