Cache drupal_json_output() by calling drupal_page_footer() - UIVSUP-55.