making drupal json work
updated app configuration