api for easier object<->dict conversion