correctly build jsRepresentation from complex/nested objects with Proxies and JSExpressions (closes #7)