Converted JSON array to full JSON object for ease of transportation between modules.