json to as module