Added another loop and modified json to only have one variable with strings