test_user: Use json.loads to turn JSON into a dict.