Model::flatter and View::json_response

Model::faltten to flatten any shamp model object
More verbose on missmatch type
Remove request::_gets (doubloon)
Indentation
View::json_response helper to give a JSON response