added select method to jsonbase