Fixed naming of parameters for json output.