Fix date parsing
Write with response
Clean up reading of characteristics