changes for JSON call
JSON changes stage 2