Resolved jsonData problems and fixed doctests.