Test passing json from Pebble JS API