fix jsonecoder so that null values are encoded as empty string
added software version number to build script and footer template
fix build