Javascript Object Literal Converter