update origin with latest code

Known bugs:
* If the first entry in the .json is the smallest, only one value is
  returned.