Things to check:
Is your call able to reach the function? Are you getting “You are here” logged to debug.log?
Your function is clearly not returning any response as indicated by the error message. Have you loaded the RequestHandler component?
$this->loadComponent('RequestHandler');
And lastly, you need to return the results as json response type. Try adding the following before your $this->set()
…
$resultJ = json_encode(array('result' => array('now' => $now)));
$this->response->type('json');
$this->response->body($resultJ);
return $this->response;