Formatted all server responses as arrays so that all responses can be handled the same way on the client