Example backend responding to json requests with bottle and python