Adds support for passing JSON parameters to initialize XBlock