added support for recording term vectors
fix bug related to sending boost as string instead of number