Fixed bug in the context processor not returning a dict object.

Signed-off-by: Chris Moss <chris@uniontech.co.uk>