adds sample json controller