Added code to init genesis block from json file.

Implemented claim by pts (not tested)