json serializer for numpy

in reference to issue #193