Adding support for passing JSON blob as capabilities