Added missing json response format to log_sleep url