Better functionality for JSON