Fixes bugs where json choked on numpy int64 data types