Added metadata to error logging during deserialize
Added :within_transaction option to processor.