simplified base json api