This looks right. Object is not supported by BANano. I use it in some methods, e.g. because a method can return several types and there is no casting like B4J (java) has.
E.g. in the RunInlineJavascriptMethod(), I have no idea what you will return. So you need to make the receiving variable the correct type.
I had a deeper look into this, and it seems as B4J's Object has no methods or properties, there would be no harm in allowing Object and initializeing it as you suggested to {} so I'm going to allow it in the next update.