Add JSON and cURL interface