FIX response of POST and PUT to accord with _type

respond POST and PUT to accord with requesting _type