Fixed server to use generic maps to handle get requests