Adding new functionality and fix documentation.
Update the callback function of the JSON to the Drupal connect apps query class.