Added support and tests for JSON decorators and refactored JsonEncoder
API.