adding train_uid to json output