the problem is that phpcr does not do mixed arrays and the form layer is religious about types, i can't have the string "1" for a checkbox. i don't know how i would do that in the sonata form layer.

i could use the sonata admin methods to re-set the options cast to boolean but that feels weird to me. but if you think that is better i can do that.