fix json formatting issue