refactored method: addObjectsToJsonToReturnElseAddFailedPrivilegesMessages
Merge pull request #27 from k-joseph/CSM-67

[#CSM- 67] Refactor GeneratingJson class