updated: fold/unfold JSON + tests