Finished json formatting