add the microapp definition for inserting into r2