Making boolean value as string for checkbox option