fix json output, works.