Introduce JsonP support, close #1517