restful: fix extension initialization
documents: set_content and resful api
jsonalchemy: REMOVE THIS
documents: wip