if comment.class == Hash
        status 400
        response = comment.to_json
      else
        status 201