adds source info back into JSON results