Add the new instance variables to the respond formats for JSON and XML.