Added validation and source setting from asynchronous JSON query.