Removed data type of json from ajax call and now async callback works for some reason.