return python dict instead of json