Originally reported by: Shishir Anshuman (Bitbucket: shishiranshuman13, GitHub: shishiranshuman13)
Add functionality to save the nested object of model type in the redux-store.
Hint: Create a function marshalResource() which accepts two parameters: jsonObject and resourceName, and save the data of the object in the store with key : resourceName.