public IActionResult Post([FromBody] JObject json, string userId)
        {
            try
            {
                var dataStore = DataStoreParser.Parse(json);
                dataStore.UserId = userId;

                //Creates a datastore for the user specified.
                var dataStoreId = _dataStoreRepo.Create(dataStore);
                _logger.Log("StorageController:Post {userId} :  datastore for user: "******" created with an id of: " + dataStoreId, LogLevel.Trace);

                return(Ok(JObject.FromObject(new { dataStoreId })));
            }
            catch (Exception except)
            {
                _logger.Log("StorageController:Post {userId} : Error in trying to create a datastore. Message: " + except.Message, LogLevel.Error);
                return(StatusCode(400, except.Message));
            }
        }