change default to 'json' (api)