return json output and use a different layout
cleanup and add a new template layout