fixed json for httpebble and added working httpebble implementation