Add source, system, and source_type keys to json