Ability to use JSON post bodies from AJAX requests transparently