Implemented java ws (resteasy); Added function that returns results in lists of maps.