private JSONObject storeTaskFormInRepository(String formType, String taskName, String packageName, String formValue, Repository repository) throws Exception{
repository.deleteAssetFromPath(packageName + "/" + taskName + TASKFORM_NAME_EXTENSION + "." + formType);
AssetBuilder builder = AssetBuilderFactory.getAssetBuilder(Asset.AssetType.Byte);
builder.location(packageName)
.name(taskName + TASKFORM_NAME_EXTENSION)
.type(formType)
.content(formValue.getBytes("UTF-8"));
repository.createAsset(builder.getAsset());