Slug refactored
Context debugging
fixed query and json format