opensips: make routes `attrs` into JSON.