I have the following code and I would to achieve functionality that /getJson will return user object as json and /getJson2 will return user2 as Json object.
This action provides two properties: user and user2.
If both /getJson and /getJson2 map to this action class, then they will both respond with the available properties: user and user2.