Feature/bucket pipeline

context.application is an object, you need to use the ._id from application