Added JSON support.

Signed-off-by: Amber Thrall <amber.rose.thrall@gmail.com>