Merge pull request #227 from mzry1992/refactor-db-layer

Make JsonPath works with real request