Finishing touches to json