recursive jsObject reconstruction. Work in progress.