fixed bug with numpy array and jsonpickle encoder. can pass stringified arrays to pyscript
fix undefined indexmap bug