don't rely on object keys to map to line numbers properly