finialize url mapping for json output