move bucket/librato conversion into bucket pkg