use native json_encode if available
heatbit.php must provide a valid JSON reply, so not a empty content