only accepting literals as object keys

closes gh-36