Pulled out variable provider and added some tests
Added acceptance test for Json file output