Fix missing closing bracket in JSON resource group serialization