modify the output to standard json