Lightweight metadata handling library