getting regions via JSON
adding region to path::line