Fix JSON document property accessors
Merge pull request #276 from inthause/documents

Fix JSON document property accessors