- Makes json_method_codec.cc compatible with the last stable RapidJSON release. - Allows removing the GTK dependency with a compile flag. - Fixes a missing break in a switch flagged by some toolchains.