Issue #1460882 by smiro2000 - Send .json requests to @drupal instead of =404 to support dynamic requests properly.