send dumped json instead of python dict