nl_tokens: You can use this method to customize the root keys serialized into the JSON . By default the REST Serializer sends camelized root keys . For example your server may expect underscored root objects .
pl_tokens: function ( hash , type , record , options ) { <mask> [ type . typeKey ] = this . serialize ( record , options ) ; }