findNextEntry = (data, start = 0) => {
  const pos = findNextIdType(data, start)
  if (pos < 0) {
    return [null, -1]
  }
  const posNext = findNextIdType(data, pos + 1)
  if (posNext < 0) {
    return [null, -1]
  }
  const curlyEnd = data.lastIndexOf('}', posNext)
  if (curlyEnd < pos) {
    return [null, -1]
  }
  try {
    const json = data.substring(pos, curlyEnd + 1)
    const entry = JSON.parse(json)
    return [null, curlyEnd + 1, entry]
  } catch (e) {
    return [e]
  }
}
@param {string} data
@param {number} start
@returns {[Error, number, DatabaseEntry]}