Removes the print statment and returns the json as DRF Response