added JSON response handler for new project creation