Fix JPA VS ScriptObjectMirror issue