added getter for accel config JSON api + unit tests
beginnings of gps config json api
fixed function names