Add JSON response to metadata refresh endpoint.

This will be used in a target health check on deployment.
Check target status before allowing a deployment.