Added documentation. Refactored JsonResults