Issue
Currently Panthalassa expects a string to be passed as layout of DApp message coming from message renderer. Since JSX tree is an object it's more convenient for DApp developers to directly pass an object.
Solution
This line needs to be changed to getting object instead of string