nicer interface for the api handler for fetching the raw json string