Fine-tune JSON object building API
Refactor smoke tests
Update API docs