AOL On - Move JSON grabbing code into its own function.