fix standalone json requests