add test for json, guess what? dosnt pass