fix json load, add test for async json load, closes #463