Add JSON utility methods