remove the dependency to Json