Update readme to use javascript instead of json for formatting options