Object to object for jsdoc