See details in https://civicrm.stackexchange.com/questions/27754/label-format-does-not-fit-in-database-php-7-1-json-encode-and-serialize-prec