Is your feature improvement request related to a problem? Please describe.
Currently the mapper is processing the inventory.json file by publishing the content to the corresponding twin topics and to the cloud. But, keeping it as part of the mapper limits this functionality to the main device only whereas even child devices could benefit from the same.
Describe the solution you'd like
Move the responsibility of processing the inventory.json file from the mapper to the agent so that this functionality can be used by child devices as well. Propagating the same to the cloud will be handled automatically by the mapper, when it receives those twin messages.