correct json formatting
use router