Fix broken api endpoint by properly handling new merged mining tuple