[fix] Replace haml response by json for not found error