It was written by Broadway composer & lyricist Jason Robert Brown, the Jason of the title. The two of them have been working together since he gave her her Broadway debut in the musical 13. His work is amazing, and you should definitely check out The Last Five Years and The Bridges of Madison County.
But it really does suit her voice. Her voice has soul, and she hasn't been using it in her music lately.