Specify structure $.fn.serializeArray() return val

$.fn.serializeArray returns an array of { name: string; value: string; }
elements. This patch declares that type explicitly, instead of Object[].