Update readme, refactor conversion of literals to objects