Implements Subject creation. Also sets json as default request content-type