Optimize imports and return null from get methods if the request fails (instead of an empty hashmap)