Http Server: Code generation script error

During local testing with the code generation I've notice this error.
The dic should be reference with a key not an attribute.

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>