Use NSNumber instead of BOOL for Boolean type
merge