fixed issue with json module unable to encode numpy.int32
Merge pull request #2 from saffsd/master

Fix for TypeError in server.py (in Python 2.7?)