fixes typo, and makes jsonserver work with python 3