Object JSON: Added values of custom variables

This commit adds the values of custom variables to the details of hosts,
services and contacts displayed using the object JSON CGI.