nl_tokens: Normalizes attributes to API expectations
pl_tokens: function normalizeApiAttributes ( attributes ) { attributes = <mask> ( attributes ) ; attributes = normalizeTermsForApi ( attributes ) ; if ( attributes . author ) { attributes . author = attributes . author . ID ; } return attributes ; }