Improving JA_ENCODE(val)

Making it possible to perform method calls or similar. JA_ENCODE(self.layer.transform)