Added liveness to JSON health result.

Fixes #871.