Added ability for approvals to handle nested arrays