better handling of uploads in hypermedia.py
added parent links