Make sure handlers.layer returns unnamed list

If it returns a named list, the handlers object that is inserted in to the spec
will be a JSON object instead of an array, and it won't be processed correctly
by the client.