Some practice with JSON and HTTP