Prepare object JSON generation state machine for resuming
Make resumes work for object JSON generation