Properly forming json this time.