Added JSON callback support.