fixing ajax post with serialized array data