added require ext-json and ext-curl to composer.json.