Updating to latest elixr
Adding type check so we don't try to parse non-json data as json. bug 728