change detail response from json.dumps() to {"username":
accountTmp.username, "email": accountTmp.email}
test response