If ZABBIX agent asks for a list of active checks and Hostname is not correct, the error "Cannot open Json object" is written to the agent log. Server does not generate correct Json response for some reason.
Something is wrong there! We must have a clear warning message in this case!
Alexei