New user rest APIs

The get_user_grades method returns the DOMDocument, not an array of data.  So, you cannot merge the two together.