FIXED: db_json dict wasn't passed to res_extra() function