Added error variable when unmarshalling JSON config data.