Replace get_albums and get_photos functions with generic get_hypermedia