update postreceive.php to include a json-encoded response