make lookup output serializable