Fixed bug where JSON layer wasn't loading on initialize.