Define first and last for JSONLogger