Change array of lat, long and weight to object
Merge pull request #10 from Trinovantes/fix-weight-API

Change array of lat, long and weight to object