fixed request_uri to work in python server
serve json instead of html
resolve merge conflict