lib: Expose runtime.handleMessage and include .json files