The missing cast was resulting in the API to send a 0 or 1 instead of true or false for the public field