Populating keys from txt file, and returning json as results