json stuff
distinguish linear / balanced pan functions
more optimized table lookup from 16.16 idx
using avr32_blank to test-compile jansson lib... seems ok but memory use might be a problem (need string buffer for whole json input. etc)
rough attempt at a proper .json schema file.