Integrated ScalaCheck for Distance Json encode/decode