give middleware metadata for debugging
update existing middelewares to use metadata
update readme