fix bug where NSNumbers would not serialize for parameters