Converting aws configuration to json