Adding JSON method documentation