#702: Properly validate, store JSON object

Resolves #702.