Fixed parsing JSON connecting to distances

Issue #106