Here normalize_boolean considers anything not in (0,no,false) to be true. This easily ends up frustrating clients due to confusion. Consider having a white list. That is, allowing only "1", "yes", "true" only as true values. I have not looked around to see what if any other boolean values we are using through HTTP here. Have you? It would be good to stay standard if we have any other parameters of the same kind.