Removes .json suffix from networks/subnets routes