move json package to core module from api module